const api: ApiConfig = {
  // 考核列表
  assessList: {
    method: 'GET',
    url: '/oa/appraise/appraise/list'
  },
  // 考核新增
  assessSave: {
    method: 'POST',
    url: '/oa/appraise/appraise/save'
  },
  // 考核修改
  assessUpdate: {
    method: 'POST',
    url: '/oa/appraise/appraise/update'
  },
  // 考核详情列表
  assessListInfo: {
    method: 'GET',
    url: '/oa/appraise/appraise/infoList'
  },
  // 考核详情
  assessInfo: {
    method: 'GET',
    url: '/oa/appraise/appraise/info/:id'
  },
  // 考核删除
  assessDelete: {
    method: 'POST',
    url: '/oa/appraise/appraise/delete'
  },
  // 考核开始/关闭
  assessButton: {
    method: 'GET',
    url: '/oa/appraise/appraise/button'
  },
  // 考核投票
  assessVote: {
    method: 'POST',
    url: '/oa/appraise/appraise/vote'
  },
  // 考核投票列表
  assessVoteList: {
    method: 'GET',
    url: '/oa/appraise/appraise/voteList'
  },
  // 考核导出
  assessExport: {
    method: 'GET',
    url: 'oa/appraise/appraise/export',
    responseType: 'blob'
  }
}
export default api
